Skip to content

Remove [ and ] in exportNames to allow proper generation of deep-query parameters#334

Merged
jenschude merged 1 commit intocommercetools:mainfrom
gasttor:main
Feb 20, 2026
Merged

Remove [ and ] in exportNames to allow proper generation of deep-query parameters#334
jenschude merged 1 commit intocommercetools:mainfrom
gasttor:main

Conversation

@gasttor
Copy link
Contributor

@gasttor gasttor commented Feb 3, 2026

In issue #333 I found out, that the usage of deep-query parameters lead to non-compiling code in the GO_CLIENT. This PR tackles the issue in the generation of the exportName in the GoStringExtension.

Besides the dot I also replace the character [ and ] with an underscore. This generates proper names and lead to compiling code.

fyi @mvantellingen @demeyerthom

@mvantellingen
Copy link
Contributor

Looks good to me!

@jenschude jenschude merged commit bd06ff2 into commercetools:main Feb 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants